gdk: Make GDK_TOUCH_CANCEL be dealt with similarly to GDK_TOUCH_END
authorCarlos Garnacho <carlosg@gnome.org>
Sun, 17 Apr 2016 20:19:58 +0000 (21:19 +0100)
committerCarlos Garnacho <carlosg@gnome.org>
Mon, 18 Apr 2016 13:14:33 +0000 (14:14 +0100)
commit358d15ae5eabfa52b2dc3458e8ac59bec4d4e473
tree96407d2d02f85252e8999e31173084419216f7ef
parent921c154e386698eb83e06d87823ce1b25ab5d779
gdk: Make GDK_TOUCH_CANCEL be dealt with similarly to GDK_TOUCH_END

We must emit the cancel event with the same semantics, and towards the GdkWindow
that is currently under the touchpoint, so make proxy_button_event() deal with
GDK_TOUCH_CANCEL.

Fixes the GDK_TOUCH_CANCEL event being emitted only on the toplevel, which is
usually non-sufficient.
gdk/gdkwindow.c